package com.chunxiadong.mapper;

import com.chunxiadong.entity.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @auther QiuShangcheng
 * @create 2021/6/9
 */
@Mapper
@Repository
public interface CommentMapper {
    int addComment(Comment comment);

    List<Comment> getCommentListByBlogId(Integer id);

}
